﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading;
using System.Windows.Forms;
using MyLib2018;


namespace 软件异常重启
{
    public partial class Form1 : Form
    {
        private Thread th = null;

        public Form1()
        {
            InitializeComponent();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            MyConvert.HexStringToDecString("1234");
            label1.Text = "222222222222";
            int a = 0;
            int b = 10 / a;

            //th = new Thread(CalcThread);
            //th.IsBackground = true;
            //th.Start();
        }

        /// <summary>
        /// 计算线程
        /// </summary>
        private void CalcThread()
        {
            while(true)
            {
                int a = 0;
                int b = 10 / a;
            }
        }

        private void Form1_Load(object sender, EventArgs e)
        {
            label1.Text = "111111111111111";
        }
    }
}
